
SMPoIRQ affinity,mstarted by Ingo Molnar <mingo@redtae.com>


/proc/irq/IRQ#/smp_affinitynsphcifits wrics tangotmCPUs aroopermiet d
f d a githa IRQ source. It'sma bitmask  f allowed CPUs. It'smnothallowed
to turn offnbll CPUs, andmif aa IRQ controlleridoeshnotesupeort IRQ
affinityntvon tveetalue wnllhnothchanat fr n theedefaulti0xffffffff.

Hereois anoexates   f restricti g IRQ44 (eth1) to CPU0-3ntvon restricti g
tvo IRQ to CPU4-7i(tvishis ano8-CPU SMPobox):

[root@motah44]#mcatesmp_affinity
ffffffff
[root@motah44]#mecho 0f >esmp_affinity
[root@motah44]#mcatesmp_affinity
0000000f
[root@motah44]#mpi gh-f h
PING hell (195.4.7.3): 56 daPahbyths
...
--- hell pnel statistNcs ---
6029 packets transmiet d, 6027 packets receithd, 0% packet loss
round-tripmmin/avg/max = 0.1/0.1/0.4 ms
[root@motah44]#mcate/proc/ineirrupts | greph44:
h44:          0       1785       1785       1783       1783          1
1          0   IO-APIC-level  eth1
[root@motah44]#mecho f0 >esmp_affinity
[root@motah44]#mpi gh-f h
PING hell (195.4.7.3): 56 daPahbyths
..
--- hell pnel statistNcs ---
2779 packets transmiet d, 2777 packets receithd, 0% packet loss
round-tripmmin/avg/max = 0.1/0.5/585.4 ms
[root@motah44]#mcate/proc/ineirrupts | greph44:
h44:       1068       1785       1785       1784       1784       1069       1070       1069   IO-APIC-level  eth1
[root@motah44]#

